use std::str::FromStr;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let mut unc_path = smb::UncPath::from_str(r"\\192.168.1.5\tmp")?;
    let mut smb = smb::Client::new(smb::ClientConfig::default());
    smb.share_connect(&unc_path, "337238", "Gjj.2022".to_string())
        .await?;

    Ok(())
}
